/*
 * @Author: wuchenge
 * @Date:   2020-05-12 13:56:10
 * @Last Modified by:   wuchenge
 * @Last Modified time: 2020-12-07 16:14:20
 */
import Main from '@/views/Main.vue';
export default [
    // 权限管理
    {
        name: 'admin.rbac',
        path: '/rbac',
        icon: 'ios-power-outline',
        component: Main
    },
    // 权限列表 
    {
        name: 'admin.rbac.node',
        path: 'node',
        icon: 'ios-checkbox',
        component: resolve => {
            require(['@/views/rbac/Node.vue'], resolve)
        }
    },
    // 管理员列表 
    {
        name: 'admin.rbac.admin',
        path: 'admin',
        icon: 'ios-people',
        component: resolve => {
            require(['@/views/rbac/Admin.vue'], resolve)
        }
    },

    // 角色列表
    {
        name: 'admin.rbac.role',
        path: 'role',
        icon: 'md-bug',
        component: resolve => {
            require(['@/views/rbac/Role.vue'], resolve)
        }
    },
]